<!DOCTYPE html>
<html lang="zh-Hans">
<head>
    <meta charset="UTF-8">
    <title>上传照片</title>
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <!--以显示网页的屏幕宽度定义了视窗宽度。网页的比例和最大比例被设置为100%-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"/>
    <link rel="stylesheet" href="asset/plugins/weui/css/weui.min.css">
    <link rel="stylesheet" href="asset/css/p-uploader.css">

</head>
<body>
<div class="m-wrap">
    <div class="weui-cells weui-cells_form" id="uploader-imgs">
        <div class="weui-cell">
            <div class="weui-uploader">
                <div class="weui-uploader__hd">
                    <p class="weui-uploader__title">图片上传</p>
                    <div class="weui-uploader__info">0/2</div>
                </div>
                <div class="weui-uploader__bd">
                    <ul class="weui-uploader__files" id="uploaderFiles">
                        <li class="weui-uploader__file"
                            style="background-image:url(asset/plugins/weui/img/pic_160.png)"></li>
                        <li class="weui-uploader__file"
                            style="background-image:url(asset/plugins/weui/img/pic_160.png)"></li>
                        <li class="weui-uploader__file"
                            style="background-image:url(asset/plugins/weui/img/pic_160.png)"></li>
                        <li class="weui-uploader__file weui-uploader__file_status"
                            style="background-image:url(asset/plugins/weui/img/pic_160.png)">
                            <div class="weui-uploader__file-content">
                                <i class="weui-icon-warn"></i>
                            </div>
                        </li>
                        <li class="weui-uploader__file weui-uploader__file_status"
                            style="background-image:url(asset/plugins/weui/img/pic_160.png)">
                            <div class="weui-uploader__file-content">50%</div>
                        </li>
                    </ul>
                    <div class="weui-uploader__input-box">
                        <input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" multiple/>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="weui-btn-area">
        <a id="uploaderCustomBtn" href="javascript:;" class="weui-btn weui-btn_orange">上传</a>
        <a href="javascript:" onclick="history.go(-1)" class="weui-btn weui-btn_link weui-btn_orange">返回上一页</a>
    </div>

    <!--图片查看-->
    <div class="weui-gallery" id="gallery">
        <span class="weui-gallery__img" id="galleryImg"
              style="background-image:url(asset/plugins/weui/img/pic_160.png)"></span>
        <div class="weui-gallery__opr">
            <a href="javascript:" class="weui-gallery__del">
                <i class="weui-icon-delete weui-icon_gallery-delete"></i>
            </a>
        </div>
    </div>
</div>
<script src="asset/plugins/weui/js/weui.min.js"></script>
<script src="asset/js/m-uploader.js"></script>
</body>
</html>